#include "digitalLED.h"
/*
P0.0 A
*/
char num_code[] = {0x40,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90};

void show_num(char num)
{
	P0 = num_code[num / 10];
	P2 = num_code[num % 10];
}